package com.unittec.zk.provider.work.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.unittec.zk.provider.root.EntityRoot;
import lombok.Data;

/**
    * 车辆信息表
    */
@Data
@TableName(value = "car_info")
public class CarInfo extends EntityRoot implements Serializable {

    /**
     * 车牌号
     */
    @TableField(value = "truck_number")
    private String truckNumber;

    /**
     * 品牌
     */
    @TableField(value = "truck_brand")
    private String truckBrand;

    /**
     * 车辆类型（1轿车 2SUV 3MPV 4货车）
     */
    @TableField(value = "truck_type")
    private Integer truckType;

    /**
     * 是否在库（1在库 2不在库）
     */
    @TableField(value = "is_here")
    private Integer isHere;

    /**
     * 车辆状态（1正常 2维修中 3已报废）
     */
    @TableField(value = "`state`")
    private Integer state;

    /**
     * 荷载人数
     */
    @TableField(value = "max_passengers")
    private Integer maxPassengers;

    /**
     * 购置日期
     */
    @TableField(value = "buy_time")
    private Date buyTime;

    /**
     * 车辆图片
     */
    @TableField(value = "image_url")
    private String imageUrl;

    /**
     * 发动机号码
     */
    @TableField(value = "engine_number")
    private String engineNumber;

    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;

    /**
     * 逻辑删除
     */
    @TableField(value = "del_flag")
    @TableLogic
    private Integer delFlag = 0;

    @TableField(value = "string1")
    private String string1;

    @TableField(value = "string2")
    private String string2;

    @TableField(value = "string3")
    private String string3;

    @TableField(value = "string4")
    private String string4;

    private static final long serialVersionUID = 1L;
}